package infaraway.observer;

/**
 * Created by :Infaraway
 * DATE : 2017/4/26
 * Time : 0:03
 * Funtion :
 */
public class Main {
    public static void main(String[] args) {
        WeatherData weatherData = new WeatherData();

        Observer oberver1 = new Observer1(weatherData);

        weatherData.setValue("temp1", "humidity1", "pressure1");
        weatherData.setValue("temp2", "humidity2", "pressure2");
        weatherData.setValue("temp3", "humidity3", "pressure3");
    }
}
